from Marchines import C45
fr = open('mydata_1.csv')
lenses = [inst.strip().split(',') for inst in fr.readlines()]
print(lenses)
# exit()
lensesLables = ['cc','aa','prescript','astigtic','tearRate']
LensesTree = C45.createTree(lenses,lensesLables)
# print(LensesTree)
C45.createPlot(LensesTree)
